# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class HunterSellHouseItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    url = scrapy.Field()
    followcnt = scrapy.Field()
    cartcnt = scrapy.Field()
    locationlst = scrapy.Field()
    totalprice_num = scrapy.Field()
    totalprice_unit = scrapy.Field()
    unitprice_num = scrapy.Field()
    unitprice_unit = scrapy.Field()
    houseinfo_room_maininfo = scrapy.Field()
    houseinfo_room_subinfo = scrapy.Field()
    houseinfo_type_maininfo = scrapy.Field()
    houseinfo_type_subinfo = scrapy.Field()
    houseinfo_areainfo = scrapy.Field()
    houseinfo_loctinfo = scrapy.Field()
    communityname = scrapy.Field()
    visittime = scrapy.Field()
    houseID = scrapy.Field()
    baseinfo = scrapy.Field()
    tradeinfo = scrapy.Field()
    houseinfo_lable = scrapy.Field()
    houseinfo_feature = scrapy.Field()


class HunterRentHouseItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    url = scrapy.Field()
    title = scrapy.Field()
    publish_time = scrapy.Field()
    houseid = scrapy.Field()
    price = scrapy.Field()
    price_unit = scrapy.Field()
    house_basic_info = scrapy.Field()
    house_detail_info = scrapy.Field()


class HunterCommunityHouseItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    url = scrapy.Field()
    name = scrapy.Field()
    address = scrapy.Field()
    location = scrapy.Field()
    avg_price = scrapy.Field()
    community_info = scrapy.Field()
    follow_num = scrapy.Field()